class TestEdges extends Test
{
    public constructor(sprite:DebugDraw)
    {
        super(sprite);
        this.createScene();
    }

    private createScene():void
    {
        let box:Box2D.Collision.Shapes.b2PolygonShape = new Box2D.Collision.Shapes.b2PolygonShape();
        box.SetAsBox(30 / this.m_physScale, 4 / this.m_physScale);
        var bd:Box2D.Dynamics.b2BodyDef = new Box2D.Dynamics.b2BodyDef();
        bd.position.Set(320 / this.m_physScale, 150 / this.m_physScale);
        let laser:Box2D.Dynamics.b2Body;
        laser = this.m_world.CreateBody(bd);
        let fixtureDef:Box2D.Dynamics.b2FixtureDef = new Box2D.Dynamics.b2FixtureDef();
        fixtureDef.shape = box;
        fixtureDef.density = 4;
        fixtureDef.friction = 0.4;
        fixtureDef.restitution = 0.3;
        laser.CreateFixture(fixtureDef);

        
    
    }
}